# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'datalogger.ui'
##
## Created by: Qt User Interface Compiler version 6.9.1
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
    QMetaObject, QObject, QPoint, QRect,
    QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QAction, QBrush, QColor, QConicalGradient,
    QCursor, QFont, QFontDatabase, QGradient,
    QIcon, QImage, QKeySequence, QLinearGradient,
    QPainter, QPalette, QPixmap, QRadialGradient,
    QTransform)
from PySide6.QtWidgets import (QApplication, QComboBox, QFormLayout, QGridLayout,
    QGroupBox, QHeaderView, QLabel, QLineEdit,
    QMainWindow, QMenu, QMenuBar, QPushButton,
    QSizePolicy, QStatusBar, QTableWidget, QTableWidgetItem,
    QVBoxLayout, QWidget)

class Ui_DataCurve(object):
    def setupUi(self, DataCurve):
        if not DataCurve.objectName():
            DataCurve.setObjectName(u"DataCurve")
        DataCurve.resize(654, 598)
        icon = QIcon()
        icon.addFile(u"ico/theme.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
        DataCurve.setWindowIcon(icon)
        self.actOpen = QAction(DataCurve)
        self.actOpen.setObjectName(u"actOpen")
        self.centralWidget = QWidget(DataCurve)
        self.centralWidget.setObjectName(u"centralWidget")
        self.formLayout = QFormLayout(self.centralWidget)
        self.formLayout.setSpacing(6)
        self.formLayout.setContentsMargins(11, 11, 11, 11)
        self.formLayout.setObjectName(u"formLayout")
        self.verticalLayout_6 = QVBoxLayout()
        self.verticalLayout_6.setSpacing(6)
        self.verticalLayout_6.setObjectName(u"verticalLayout_6")
        self.groupBox1 = QGroupBox(self.centralWidget)
        self.groupBox1.setObjectName(u"groupBox1")
        font = QFont()
        font.setBold(True)
        self.groupBox1.setFont(font)
        self.verticalLayout_3 = QVBoxLayout(self.groupBox1)
        self.verticalLayout_3.setSpacing(6)
        self.verticalLayout_3.setContentsMargins(11, 11, 11, 11)
        self.verticalLayout_3.setObjectName(u"verticalLayout_3")
        self.gridLayout = QGridLayout()
        self.gridLayout.setSpacing(6)
        self.gridLayout.setObjectName(u"gridLayout")
        self.lblPortNum = QLabel(self.groupBox1)
        self.lblPortNum.setObjectName(u"lblPortNum")
        font1 = QFont()
        font1.setPointSize(9)
        font1.setBold(True)
        self.lblPortNum.setFont(font1)
        self.lblPortNum.setAlignment(Qt.AlignmentFlag.AlignCenter)

        self.gridLayout.addWidget(self.lblPortNum, 0, 0, 1, 1)

        self.cbbPortNum = QComboBox(self.groupBox1)
        self.cbbPortNum.setObjectName(u"cbbPortNum")
        sizePolicy = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cbbPortNum.sizePolicy().hasHeightForWidth())
        self.cbbPortNum.setSizePolicy(sizePolicy)
        self.cbbPortNum.setFont(font1)
        self.cbbPortNum.setMaxVisibleItems(20)
        self.cbbPortNum.setSizeAdjustPolicy(QComboBox.SizeAdjustPolicy.AdjustToContents)
        self.cbbPortNum.setMinimumContentsLength(0)

        self.gridLayout.addWidget(self.cbbPortNum, 0, 1, 1, 1)

        self.btnRefresh = QPushButton(self.groupBox1)
        self.btnRefresh.setObjectName(u"btnRefresh")
        self.btnRefresh.setFont(font1)

        self.gridLayout.addWidget(self.btnRefresh, 1, 0, 1, 1)

        self.startbtn = QPushButton(self.groupBox1)
        self.startbtn.setObjectName(u"startbtn")
        self.startbtn.setFont(font1)

        self.gridLayout.addWidget(self.startbtn, 1, 1, 1, 1)


        self.verticalLayout_3.addLayout(self.gridLayout)


        self.verticalLayout_6.addWidget(self.groupBox1)

        self.groupBox3 = QGroupBox(self.centralWidget)
        self.groupBox3.setObjectName(u"groupBox3")
        self.groupBox3.setFont(font)
        self.verticalLayout = QVBoxLayout(self.groupBox3)
        self.verticalLayout.setSpacing(6)
        self.verticalLayout.setContentsMargins(11, 11, 11, 11)
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.gridLayout_2 = QGridLayout()
        self.gridLayout_2.setSpacing(6)
        self.gridLayout_2.setObjectName(u"gridLayout_2")
        self.comboBox = QComboBox(self.groupBox3)
        self.comboBox.setObjectName(u"comboBox")
        self.comboBox.setEditable(False)

        self.gridLayout_2.addWidget(self.comboBox, 1, 1, 1, 1)

        self.btnInterval = QPushButton(self.groupBox3)
        self.btnInterval.setObjectName(u"btnInterval")

        self.gridLayout_2.addWidget(self.btnInterval, 1, 0, 1, 1)

        self.realbtn = QPushButton(self.groupBox3)
        self.realbtn.setObjectName(u"realbtn")

        self.gridLayout_2.addWidget(self.realbtn, 0, 0, 1, 1)

        self.btnSend = QPushButton(self.groupBox3)
        self.btnSend.setObjectName(u"btnSend")
        self.btnSend.setFont(font1)

        self.gridLayout_2.addWidget(self.btnSend, 0, 1, 1, 1)


        self.verticalLayout.addLayout(self.gridLayout_2)


        self.verticalLayout_6.addWidget(self.groupBox3)

        self.groupBox2 = QGroupBox(self.centralWidget)
        self.groupBox2.setObjectName(u"groupBox2")
        self.groupBox2.setMaximumSize(QSize(16777215, 16777215))
        self.groupBox2.setFont(font)
        self.verticalLayout_2 = QVBoxLayout(self.groupBox2)
        self.verticalLayout_2.setSpacing(6)
        self.verticalLayout_2.setContentsMargins(11, 11, 11, 11)
        self.verticalLayout_2.setObjectName(u"verticalLayout_2")
        self.label = QLabel(self.groupBox2)
        self.label.setObjectName(u"label")
        font2 = QFont()
        font2.setPointSize(11)
        font2.setBold(True)
        self.label.setFont(font2)
        self.label.setAlignment(Qt.AlignmentFlag.AlignRight|Qt.AlignmentFlag.AlignTrailing|Qt.AlignmentFlag.AlignVCenter)

        self.verticalLayout_2.addWidget(self.label, 0, Qt.AlignmentFlag.AlignTop)

        self.label_localTime = QLabel(self.groupBox2)
        self.label_localTime.setObjectName(u"label_localTime")
        self.label_localTime.setAlignment(Qt.AlignmentFlag.AlignCenter)

        self.verticalLayout_2.addWidget(self.label_localTime)

        self.label_2 = QLabel(self.groupBox2)
        self.label_2.setObjectName(u"label_2")
        self.label_2.setFont(font2)
        self.label_2.setAlignment(Qt.AlignmentFlag.AlignRight|Qt.AlignmentFlag.AlignTrailing|Qt.AlignmentFlag.AlignVCenter)

        self.verticalLayout_2.addWidget(self.label_2, 0, Qt.AlignmentFlag.AlignVCenter)

        self.label_DeviceTime = QLabel(self.groupBox2)
        self.label_DeviceTime.setObjectName(u"label_DeviceTime")
        self.label_DeviceTime.setAlignment(Qt.AlignmentFlag.AlignCenter)

        self.verticalLayout_2.addWidget(self.label_DeviceTime)

        self.btnCaliTime = QPushButton(self.groupBox2)
        self.btnCaliTime.setObjectName(u"btnCaliTime")

        self.verticalLayout_2.addWidget(self.btnCaliTime, 0, Qt.AlignmentFlag.AlignBottom)


        self.verticalLayout_6.addWidget(self.groupBox2, 0, Qt.AlignmentFlag.AlignVCenter)

        self.groupBox = QGroupBox(self.centralWidget)
        self.groupBox.setObjectName(u"groupBox")
        self.groupBox.setFont(font)
        self.verticalLayout_7 = QVBoxLayout(self.groupBox)
        self.verticalLayout_7.setSpacing(6)
        self.verticalLayout_7.setContentsMargins(11, 11, 11, 11)
        self.verticalLayout_7.setObjectName(u"verticalLayout_7")
        self.btnFile = QPushButton(self.groupBox)
        self.btnFile.setObjectName(u"btnFile")

        self.verticalLayout_7.addWidget(self.btnFile)

        self.lineEdit = QLineEdit(self.groupBox)
        self.lineEdit.setObjectName(u"lineEdit")

        self.verticalLayout_7.addWidget(self.lineEdit)

        self.btnDownload = QPushButton(self.groupBox)
        self.btnDownload.setObjectName(u"btnDownload")

        self.verticalLayout_7.addWidget(self.btnDownload)


        self.verticalLayout_6.addWidget(self.groupBox)


        self.formLayout.setLayout(0, QFormLayout.ItemRole.LabelRole, self.verticalLayout_6)

        self.verticalLayout_5 = QVBoxLayout()
        self.verticalLayout_5.setSpacing(6)
        self.verticalLayout_5.setObjectName(u"verticalLayout_5")
        self.tableWidget = QTableWidget(self.centralWidget)
        self.tableWidget.setObjectName(u"tableWidget")

        self.verticalLayout_5.addWidget(self.tableWidget)


        self.formLayout.setLayout(0, QFormLayout.ItemRole.FieldRole, self.verticalLayout_5)

        DataCurve.setCentralWidget(self.centralWidget)
        self.statusBar = QStatusBar(DataCurve)
        self.statusBar.setObjectName(u"statusBar")
        DataCurve.setStatusBar(self.statusBar)
        self.menuBar = QMenuBar(DataCurve)
        self.menuBar.setObjectName(u"menuBar")
        self.menuBar.setGeometry(QRect(0, 0, 654, 33))
        self.files = QMenu(self.menuBar)
        self.files.setObjectName(u"files")
        self.files.setSeparatorsCollapsible(False)
        self.files.setToolTipsVisible(False)
        self.setting = QMenu(self.menuBar)
        self.setting.setObjectName(u"setting")
        self.more = QMenu(self.menuBar)
        self.more.setObjectName(u"more")
        self.more.setGeometry(QRect(842, 226, 121, 52))
        DataCurve.setMenuBar(self.menuBar)

        self.menuBar.addAction(self.files.menuAction())
        self.menuBar.addAction(self.setting.menuAction())
        self.menuBar.addAction(self.more.menuAction())
        self.files.addAction(self.actOpen)

        self.retranslateUi(DataCurve)

        QMetaObject.connectSlotsByName(DataCurve)
    # setupUi

    def retranslateUi(self, DataCurve):
        DataCurve.setWindowTitle(QCoreApplication.translate("DataCurve", u"HD\u6570\u636e\u91c7\u96c6", None))
        self.actOpen.setText(QCoreApplication.translate("DataCurve", u"\u6253\u5f00", None))
#if QT_CONFIG(tooltip)
        self.actOpen.setToolTip(QCoreApplication.translate("DataCurve", u"actOpen", None))
#endif // QT_CONFIG(tooltip)
        self.groupBox1.setTitle(QCoreApplication.translate("DataCurve", u"\u7aef\u53e3\u8bbe\u7f6e", None))
        self.lblPortNum.setText(QCoreApplication.translate("DataCurve", u"\u7aef\u53e3\u53f7", None))
        self.btnRefresh.setText(QCoreApplication.translate("DataCurve", u"\u5237\u65b0", None))
        self.startbtn.setText(QCoreApplication.translate("DataCurve", u"\u8fde\u63a5", None))
        self.groupBox3.setTitle(QCoreApplication.translate("DataCurve", u"\u914d\u7f6e\u8bbe\u7f6e", None))
        self.btnInterval.setText(QCoreApplication.translate("DataCurve", u"\u4fdd\u5b58\u95f4\u9694", None))
        self.realbtn.setText(QCoreApplication.translate("DataCurve", u"\u5b9e\u65f6\u6570\u636e", None))
        self.btnSend.setText(QCoreApplication.translate("DataCurve", u"\u4fdd\u5b58\u540d\u79f0", None))
        self.groupBox2.setTitle(QCoreApplication.translate("DataCurve", u"\u65f6\u95f4\u8bbe\u7f6e", None))
        self.label.setText(QCoreApplication.translate("DataCurve", u"\u672c\u5730\u65f6\u95f4            ", None))
        self.label_localTime.setText("")
        self.label_2.setText(QCoreApplication.translate("DataCurve", u"\u8bbe\u5907\u65f6\u95f4           ", None))
        self.label_DeviceTime.setText("")
        self.btnCaliTime.setText(QCoreApplication.translate("DataCurve", u"\u6821\u51c6\u65f6\u95f4", None))
        self.groupBox.setTitle(QCoreApplication.translate("DataCurve", u"\u4e0b\u8f7d\u6570\u636e", None))
        self.btnFile.setText(QCoreApplication.translate("DataCurve", u"\u9009\u62e9\u76ee\u5f55", None))
        self.btnDownload.setText(QCoreApplication.translate("DataCurve", u"\u4e0b\u8f7d", None))
        self.files.setTitle(QCoreApplication.translate("DataCurve", u"\u6587\u4ef6", None))
        self.setting.setTitle(QCoreApplication.translate("DataCurve", u"\u8bbe\u7f6e", None))
        self.more.setTitle(QCoreApplication.translate("DataCurve", u"\u66f4\u591a", None))
    # retranslateUi

